package com.recommend.service;

import com.recommend.domain.CommentDomain;
import com.recommend.dto.admin.Comment;

import java.util.List;

/**
 * Created by lw.
 */
public interface CommentService {
    List<CommentDomain> getAllCommentGroupByMovie();

    List<Integer> getAllMovie();

    List<Integer> getMovieSelective(Comment comment);

    List<Integer> getCustomerByMovieSelective(Comment comment);

    List<Integer> getCustomer(int movieId);

    List<Comment> getComment(CommentDomain commentDomain);

	List<Comment>  selectCommentsByMovie(Integer id);

    void insertComment(CommentDomain commentDomain);

    int deleteComment(int commentId);
}
